package com.eian.boot.common.core.excel;


import com.eian.boot.common.core.excel.dto.DemoExcelDTO;
import com.eian.boot.common.core.excel.listener.BaseExcelListener;
import lombok.extern.slf4j.Slf4j;

import java.util.List;

/**
 * @author mengjiao
 * @createTime 2025-09-25
 * @description demo
 */
@Slf4j
public class DemoListener extends BaseExcelListener<DemoExcelDTO> {

    private static final int BATCH_SIZE = 3000;

    public DemoListener() {
        super(BATCH_SIZE);
    }

    @Override
    protected void dataProcess(List<DemoExcelDTO> excelData) {
        log.info("DemoListener dataProcess, excelData size: {}", excelData.size());
    }
}
